
namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    /// 查询对象
    /// </summary>
    public class DcCoverrivetingassembleQueryDto : PagerInfo 
    {
        public DateTime? BeginTime { get; set; }
        public DateTime? EndTime { get; set; }

        public string CoverCode { get; set; }
    }

    /// <summary>
    /// 输入输出对象
    /// </summary>
    public class DcCoverrivetingassembleDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }

        [Required(ErrorMessage = "DCId不能为空")]
        public string DCId { get; set; }

        public string CoverCode { get; set; }

        public string CoverBlueCode { get; set; }

        public string PillarBlueCode { get; set; }

        public string SmallSolderRingBlueCode { get; set; }
        /// <summary>
        /// 2d ccd检测结果1
        /// </summary>
        public int CCD_2D1 { get; set; }
        /// <summary>
        /// 2d ccd检测结果2
        /// </summary>
        public int CCD_2D2 { get; set; }
        /// <summary>
        /// 3d 检测结果
        /// </summary>
        public int CCD_3D { get; set; }

        
        /// <summary>
        /// 总结果
        /// </summary>
        public int TotalResult { get; set; }
        /// <summary>
        /// 盖板检测结果
        /// </summary>
        public int CoverResult { get; set; }
        /// <summary>
        /// 焊环有无左
        /// </summary>
        public int WRExistence1 { get; set; }
        /// <summary>
        /// 焊环有无右
        /// </summary>
        public int WRExistence2 { get; set; }
        /// <summary>
        /// 定位柱有无左
        /// </summary>
        public int PPinExistence1 { get; set; }
        /// <summary>
        /// 定位柱有无右
        /// </summary>
        public int PPinExistence2 { get; set; }

        /// <summary>
        /// 铆后定位柱缝隙左结果
        /// </summary>
        public int LPostRivGapResult { get; set; }
        /// <summary>
        /// 铆后定位柱缝隙右结果
        /// </summary>
        public int RPostRivGapResult { get; set; }

        /// <summary>
        /// 压装总结果
        /// </summary>
        public int PressTotalResult { get; set; }
        /// <summary>
        /// 压装结果1
        /// </summary>
        public int PressResult1 { get; set; }
        /// <summary>
        /// 压装结果2
        /// </summary>
        public int PressResult2 { get; set; }
        /// <summary>
        /// 压力值1
        /// </summary>
        public decimal PressValue1 { get; set; }
        /// <summary>
        /// 压力值2
        /// </summary>
        public decimal PressValue2 { get; set; }
        /// <summary>
        /// 压装位移1
        /// </summary>
        public decimal PressDisplacement1 { get; set; }
        /// <summary>
        /// 压装位移2
        /// </summary>
        public decimal PressDisplacement2 { get; set; }
        /// <summary>
        /// 小焊环批次码 
        /// </summary>
        public string SmallSolderRingBatchCode { get; set; }

        public DateTime? AssembleTime { get; set; }

        #region 视觉检测项

        #region 上盖板检测
        /// <summary>
        /// 圆孔孔径检测 
        /// </summary>
        public decimal HoleDiameter { get; set; }

        /// <summary>
        /// 腰孔宽度检测 
        /// </summary>
        public decimal SlotWidth { get; set; }
        #endregion


        #region 上盖板3D检测
        /// <summary>
        /// 槽长度上 
        /// </summary>
        public decimal SlotLenUpper { get; set; }

        /// <summary>
        /// 槽长度下 
        /// </summary>
        public decimal SlotLenLower { get; set; }

        /// <summary>
        /// 槽宽度上 
        /// </summary>
        public decimal SlotWidthUpper { get; set; }

        /// <summary>
        /// 槽宽度下 
        /// </summary>
        public decimal SlotWidthLower { get; set; }

        /// <summary>
        /// 平面度 
        /// </summary>
        public decimal Flatness { get; set; }

        /// <summary>
        /// 高度最大值 
        /// </summary>
        public decimal HeightMax { get; set; }

        /// <summary>
        /// 高度最小值 
        /// </summary>
        public decimal HeightMin { get; set; }

        /// <summary>
        /// 轮廓度 
        /// </summary>
        public decimal Profile { get; set; }

        /// <summary>
        /// 位置度 
        /// </summary>
        public decimal PositionDegree { get; set; }
        #endregion


        #region 定位柱检测

        /// <summary>
        /// 铆后定位柱缝隙（左 1） 
        /// </summary>
        public decimal PostRivetingLocatingPinGapL1 { get; set; }

        /// <summary>
        /// 铆后定位柱缝隙（左 2） 
        /// </summary>
        public decimal PostRivetingLocatingPinGapL2 { get; set; }

        /// <summary>
        /// 铆后定位柱缝隙（右 1） 
        /// </summary>
        public decimal PostRivetingLocatingPinGapR1 { get; set; }

        /// <summary>
        /// 铆后定位柱缝隙（右 2） 
        /// </summary>
        public decimal PostRivetingLocatingPinGapR2 { get; set; }

        /// <summary>
        /// 铆后定位柱高度（左 1） 
        /// </summary>
        public decimal PostRivetingLocatingPinHeightL1 { get; set; }

        /// <summary>
        /// 铆后定位柱高度（左 2） 
        /// </summary>
        public decimal PostRivetingLocatingPinHeightL2 { get; set; }

        /// <summary>
        /// 铆后定位柱高度（右 1） 
        /// </summary>
        public decimal PostRivetingLocatingPinHeightR1 { get; set; }

        /// <summary>
        /// 铆后定位柱高度（右 2） 
        /// </summary>
        public decimal PostRivetingLocatingPinHeightR2 { get; set; }

        /// <summary>
        /// 铆后定位柱垂直度（左 1） 
        /// </summary>
        public decimal PostRivetingLocatingPinVerticalityL1 { get; set; }

        /// <summary>
        /// 铆后定位柱垂直度（左 2） 
        /// </summary>
        public decimal PostRivetingLocatingPinVerticalityL2 { get; set; }

        /// <summary>
        /// 铆后定位柱垂直度（右 1） 
        /// </summary>
        public decimal PostRivetingLocatingPinVerticalityR1 { get; set; }

        /// <summary>
        /// 铆后定位柱垂直度（右 2） 
        /// </summary>
        public decimal PostRivetingLocatingPinVerticalityR2 { get; set; }

        #endregion

        #endregion

        

    }
}